package com.goods.center.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class GoodsController {


    @RequestMapping("/goods/query")
    public String queryGoodsInfo(@RequestParam("userName") String userName){



        //请求参数做解密
        System.out.println("----------this is  goods service----------- :" + userName);

        //返回的参数的加密
        String msg = "goodsPrice=1000";

        return msg;
    }
}
